/*
 * @Description: 统一请求处理后端tag请求
 * @Author: YWJ 
 * @Date: 2022-04-20 18:07:53 
 * @Last Modified by: YWJ
 * @Last Modified time: 2022-04-22 16:20:40
 */

import request from '@/request'

export function getHotTags() {
	return request({
		  method: 'get',
		  url: '/tags/hot'
		})
}

export function listTags() {
	return request({
		  method: 'get',
		  url: '/tags'
		})
}

export function getTagDetailsById(id) {
	return request({
		  method: 'get',
		  url: `/tags/${id}`
		})
}